/**
 *
 */
package cn.ygh.bbo.framerwork.config.constant;

/**
 * @author ygh
 * @Desc web通用常量类
 * @date 2019/9/30
 */
public abstract class WebConstant {

    /**
     * 编码
     */
    public static final String CHARSET = "UTF-8";

    /**
     * cookie中的JSESSIONID名称
     */
    public static final String JSESSION_COOKIE = "JSESSIONID";

    /**
     * url中的jsessionid名称
     */
    public static final String JSESSION_URL = "jsessionid";

    /**
     * HTTP POST请求
     */
    public static final String POST = "POST";

    /**
     * HTTP GET请求
     */
    public static final String GET = "GET";

    /**
     * HTTP OPTIONS请求 跨域请求
     */
    public static final String OPTIONS = "OPTIONS";

    /**
     * 默认页面数量
     */
    public static final Integer PAGE_SIZE = 20;

    /**
     * token 参数key
     */
    public static final String TOKEN = "token";

    /**
     * 验证码的缓存名
     */
    public static final String CODE_CACHE_NAME="code";

}
